package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsBrand;
import com.qf.vo.DtsBrandVo;

import java.util.List;
import java.util.Map;

/**
 * @author YDW
 * projectName:shop-manage
 * time:2022/5/22 15:43
 * description:
 */
public interface DtsBrandService {

    List<Integer> queryByAdminId(Integer id);

    List<Map<String, Object>> findBrand();

    IPage<DtsBrand> queryPage(Integer page, Integer limit, String sort, String order, Integer id, String name);

    Object insert(DtsBrandVo brand);

    Object update(DtsBrandVo brand);

    Object delete(DtsBrand brand);
}
